<template>
  <div>
    <el-row :gutter="20" type="flex">
      <el-col :span="12">
        <el-button type="custom" @click="handleSelect()">
          增加校内教师
        </el-button>
        <el-button type="primary" @click="handleAdd()">
          合作校外教师
        </el-button>
      </el-col>
    </el-row>
  </div>
</template>
<script>
import Bus from "@/utils/bus.js";
export default {
  data() {
    return {
      listQueryIn: {
        pageNum: 1,
        pageSize: 10,
      },
    };
  },
  methods: {
    refreshList() {
      Bus.$emit("refreshCourseTeam", this.listQueryIn);
    },
    handleSelect() {
      Bus.$emit("userSelect");
    },
    handleAdd() {
      Bus.$emit("showDialogCourseTeamAddTeacher");
    },
  },
};
</script>